<?php
namespace app\admin\validate;

use think\Validate;

class Menu extends Validate
{
    protected $rule = [
        'name' => 'require',
    ];
    protected $message = [
        'name.require' => '菜单名称必填',
    ];
    protected $scene = [
        'edit' => [
            'name',
        ],
    ];
}
